n = int(input())
print(int(n * (1 + n) / 2))